]> dgit.raspbian.org Git - gnome-shell.git/commit
shell: Make screenshot API stream based
authorCarlos Garnacho <carlosg@gnome.org>
Tue, 5 Nov 2019 23:46:41 +0000 (00:46 +0100)
committerFlorian Müllner <florian.muellner@gmail.com>
Wed, 6 Nov 2019 22:45:22 +0000 (22:45 +0000)
commitbe5f5ec9d40c9cad408dbd4be51947bb16cd0d48
treeb7bd2c98af35d50246f85949f6cb2a650e8313e4
parenta58bdbfbd4f0dc8e045171182bf9ce7d8c381ea6
shell: Make screenshot API stream based

Instead of dealing with filenames, make the low-level API use streams
so the target remains generic.

This so far means JS code now determines the appropriate filename to
use for storing the screenshot, but will be used in other ways in
future commits.

https://gitlab.gnome.org/GNOME/mutter/issues/789
https://gitlab.gnome.org/GNOME/gnome-shell/merge_requests/810
js/ui/screenshot.js
src/shell-screenshot.c
src/shell-screenshot.h